package es.upv.epsa.mobweb.moneyback.database;

public class Account {
	private int 	id;
	private String 	name;
	private int 	owner;
	private int 	friend;
	private int		shared;
	private float 	daily_interest;
	
	public Account(){
		
	}
	
	public Account(int id, String name, int owner, int friend, int shared, float daily_interest){
		this.id = id;
		this.name = name;
		this.owner = owner;
		this.friend = friend;
		this.shared = shared;
		this.daily_interest = daily_interest;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public int getOwner() {
		return owner;
	}
	
	public void setOwner(int owner) {
		this.owner = owner;
	}
	
	public int getFriend() {
		return friend;
	}
	
	public void setFriend(int friend) {
		this.friend = friend;
	}
	
	public int isShared() {
		return shared;
	}
	
	public void setShared(int shared) {
		this.shared = shared;
	}
	
	public float getDaily_interest() {
		return daily_interest;
	}
	
	public void setDaily_interest(float daily_interest) {
		this.daily_interest = daily_interest;
	}
}
